<%@ include file="/WEB-INF/include/base.jsp" %>
<%@ include file="/WEB-INF/include/base/standardObjects.jsp" %>
<%@ page isELIgnored="false" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title><bean:message key="title.application"/></title>			
		<link rel="stylesheet" type="text/css" href="./common/css/master.css">
	</head>
	<body>		
	<%@ include file="/WEB-INF/include/base/variables.jsp" %>	
	<%
		User user = (User)session.getAttribute("user");											
		String[] sexes = {"Male", "Female"};
		String countryName= CountryListDao.getCountryName(user.getCountry());
	%>
	<c:set var="sexString" value="<%=sexes[user.getSex()] %>"/>
	<c:set var="userCountry" value="<%=countryName %>"/>	
	<table id="body" border="0">
		<tr><td id="header">This is header</td></tr>
		<tr>
			<td id="subheader">
				<%@ include file="/WEB-INF/include/components/mainlinks.jsp" %>
			</td>
		</tr>
		<%@ include file="/WEB-INF/include/components/mainnav.jsp" %>
		<tr>
			<td id="content">
				<table class="c_table" width="70%">
					<tr>
						<td width="40%">
							<table width="20%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td>
										<table id="details" class="standard">								
											<tr>
												<td class="t_heading">
													<div class="t_heading_ul" style="padding:0px 0px 0px 20px;">
														<div class="t_heading_ur" style="font-size:13px; padding:10px 20px 10px 0px;">
															<bean:message key="heading.user"/>&nbsp;
														</div>
													</div>
												</td>
											</tr>
											<tr>												
												<td style="padding:10px 20px 0px 20px;">
													<bean:write name="user" property="firstName"/>
													<bean:write name="user" property="lastName"/>	
												</td>
											</tr>											
											<tr>
												<td  style="padding:0px 20px 20px 20px;">
													<bean:write name="userCountry"/>										
												</td>
											</tr>
											<tr>
												<td>
													&nbsp;
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>		
						</td>							
					</tr>					
				</table>
			</td>
		</tr>
		<tr>
			<td id="footer">This is footer
			</td>
		</tr>
	</table>
	</body>
</html>